<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
	    <base href="<%=basePath%>">
		<title>查看平台信息</title>
        <%@include file="../collect/meta.jsp"%>
    	<link rel="stylesheet" href="css/radius.css" type="text/css"></link>
    	<link rel="stylesheet" href="css/Inputstyle.css" type="text/css"></link>
    	<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
    	<style>
			td{
				height:60px;
			}
		</style>
    </head>
	<body lang="zh-cn">
		<div class="wrapper">	
	       <c:import url="/collect/top.jsp"></c:import>
			<div class="main-container" id="main-container">
				<div class="main-container-inner">
					<c:import url="/collect/left.jsp"></c:import>
					<div class="main-content">
						<div class="breadcrumbs" id="breadcrumbs">
							<ul class="breadcrumb">
								<li><i class="icon-home home-icon"></i>微信管理</li>
								<li>查看平台信息</li>
							</ul>
						</div>
						<div class="page-content">
							<div class="row">
								<div class="col-xs-12">
									<!-- PAGE CONTENT BEGINS -->  							
					          		<form action="maccount!editWeixin" name="editwx" method="post">
						          		<div align="center">
								          <table>
						                    <tr>
						                      <td><div align="right"><label>appId：&nbsp;</label></div></td>
						                      <td>${thirdact.appId}</td>
						                      <td></td>
						                    </tr>
						                    <tr>
						                      <td><div align="right"><label>appSecret：&nbsp;</label></div></td>
						                      <td>${thirdact.appSecret }</td>
						                      <td></td>
						                    </tr>
						                    <tr>
						                      <td><div align="right"><label>公众账号名称：&nbsp;</label></div></td>
						                      <td>${thirdact.name }</td>
						                      <td></td>
						                    </tr>
						                    <tr>
						                      <td><div align="right"><label>公众帐号微信号：&nbsp;</label></div></td>
						                      <td>${thirdact.weixinName }</td>
						                      <td></td>
						                    </tr>
						                    <tr>
						                      <td><div align="right"><label>微信账号原始ID：&nbsp;</label></div></td>
						                      <td>${thirdact.ysId }</td>
						                      <td></td>
						                    </tr>
						                    <tr>
						                      <td>
						                      	<div align="right">
						                      		<input type="button" class="btn btn-primary radius"  id="but" value="修改"/>
						                      		&nbsp;&nbsp;
						                      	</div>
						                      </td>
						                      <td>
						                      	<div>
						                      		<a href="${ctx }/account/weixinurlexplain.jsp" class="btn btn-success radius">微信公众帐号对接教程</a>
						                      	</div>
						                      </td>
						                      <td></td>
						                    </tr>
						                  </table>
						                  </div>
					                </form>
								</div>
							</div>
						</div>
					</div>
				</div>
				<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse" style="position:fixed;bottom:0;">
					<i class="icon-double-angle-up icon-only bigger-110"></i>
				</a>
			</div>
			<div class="push"></div>
	     </div>
	    <c:import url="/collect/down.jsp"></c:import>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#but").click(function(){
					editwx.submit();	
				});
			});
			//防收回；企业微信信息：$查看平台信息
			$(document).ready(function(){
				$('.weixinguanli > ul').show();
				$('.weixinguanli > ul > li > a').eq(0).css("color","red");
			});
		</script>
    </body>
</html>